<?php Yii::import("xupload.models.XUploadForm"); ?>
<?php $this->widget('xupload.XUpload', array(
            'url' => Yii::app()->createUrl("partner/profile/upload"),
            'model' => new XUploadForm, 
            'attribute' => 'file',
            'showForm' => false,    
            'multiple' => true,
            'options' => array( 
                'autoUpload' => true, 
                'maxNumberOfFiles' => 10, 
                'maxFileSize' => 2000000 
            ),
            'htmlOptions' => array(
                'id' => 'fileUpload',
            ),
        ));  ?>
